#ifndef THUMBNAIL_H
#define THUMBNAIL_H

#include <QWidget>
#include <QListView>
#include "pdfkit.h"
#include <QTimer>
#include <QStandardItemModel>
#include <QVBoxLayout>


class Thumbnail : public QWidget
{
    Q_OBJECT
public:
    Thumbnail(PDFKit *pdf, QWidget *parent=0);
    ~Thumbnail(){}


    QTimer *timer;
    QStandardItemModel *model;


    int size;
    int currentPage;
    PDFKit *pdf;
public slots:
    void timeOut();
};

#endif // THUMBNAIL_H
